﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket_Desktop.EMServices;

namespace ElectronicsMarket_Desktop.BL
{
   public class OrdersBL
    {
       ServicesReleaseSoapClient services;
       ORDER _order;

       public ORDER Order
       {
           get { return _order; }
           set { _order = value; }
       }
       public OrdersBL()
       {
           Order = new ORDER();
           services = new ServicesReleaseSoapClient();
       }
       public List<ORDER> getAllOrder()
       {
           return services.getAllOrders().ToList(); ;
       }
       public void updateOrder()
       {
           services.updateOrder(Order);
       }
    }
}
